//
//  TourMapCell.m
//  ImGuider
//
//  Created by llt on 2017/7/5.
//  Copyright © 2017年 imguider. All rights reserved.
//

#import "TourMapCell.h"

@interface TourMapCell ()
@property (weak, nonatomic) IBOutlet UILabel *lineName;
@property (weak, nonatomic) IBOutlet UIView *bgView;

@end

@implementation TourMapCell

- (void)awakeFromNib {
    
    [super awakeFromNib];
    
    self.bgView.layer.cornerRadius = 4.0f;
    
    self.bgView.layer.shadowColor = [UIColor blackColor].CGColor;
    self.bgView.layer.shadowOpacity = 0.1f;
    self.bgView.layer.shadowOffset = CGSizeMake(0, 1);
    
    self.backgroundColor = [UIColor clearColor];
    self.contentView.backgroundColor = [UIColor clearColor];
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}


- (void)setLineModel:(LineModel *)lineModel {
    
    _lineModel = lineModel;
    
    self.lineName.text = lineModel.linename;
}

@end
